package json;

import com.alibaba.fastjson.JSON;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * @author khaiLoon
 * @date 2018/11/26
 **/
public class Test {
    public static void main(String[] args) {

        List<Integer> list = new ArrayList<>(Arrays.asList(69,4,70,9,11,12,67,73,74,75,76,77,78,79,80,81,82,1,13,18,20,21,25,27,28,31,33,39,43,44,54,55,57,42,45,46,47,48,49,50,52,58,60,61,62,65,68,71,72,6,7,8,10,2,17,19,22,23,30,36,40,41,51,53,56,14,15,16,24,26,29,32,34,35,37,38,59,63,64,66,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,83,91,92,93,94,95,96,101,104,105,109,113,114,115,118,122,127,129,130,135,137,144,145,152,153,154,155,159,161,163,164,165,168,170,85,86,87,90,99,102,110,112,117,119,120,121,124,128,132,134,139,147,148,150,151,157,158,162,169,171,173,174,175,177,178,179,180,181,84,88,89,97,98,100,103,106,107,108,111,116,123,125,126,131,133,136,138,140,141,142,143,146,149,156,160,166,167,172,176,182,183,184,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,220,222,223,224,227,229,232,233,234,235,238,239,241,242,244,246,247,225,226,228,236,240,243,245,248,249,250,251,252,253,254,255,257,260,218,219,221,230,231,237,256,258,259,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,335,337,339,340,342,348,354,357,367,374,375,379,382,383,386,387,392,394,396,397,336,338,343,344,347,349,356,360,361,364,368,369,373,377,378,380,381,384,385,389,390,393,395,341,345,346,350,351,352,353,355,358,359,362,363,365,366,370,371,372,376,388,391));
        List<Integer> list2 = new ArrayList<>(Arrays.asList(6,7,8,10,186,194,200,9,11,12,1,256,260,281,284,286,2,266,267,276,289,291,292,294,297,4,298,305,307,309,311,188,231,235,237,238,41,240,241,301,314,182,184,193,204,208,168,209,218,263,269,275,277,282,283,285,287,172,271,290,312,195,197,170,171,201,205,189,190,192,224,228,230,255,226,169,173,216,272,274,278,227,233,234,257,264,265,268,273,280,349,352,353,354,364,369,395,315,316,318,321,322,324,326,327,329,332,334,335,339,340,341,343,346,347,357,361,362,365,370,374,377,378,379,380,381,383,330,336,338,344,350,351,355,358,366,368,371,320,372,373,375,382,384,386,390,391,392,325,333,337,342,345,348,367,376,393,394,397));
//        list2.parallelStream().forEach();
        System.out.println(list.size());
        System.out.println(list2.size());
        list.removeAll(list2);
        System.out.println(JSON.toJSONString(list));
        System.out.println(list.size());

    }

}
